package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsBrand;

/**
 * @author sunyamei
 * @version V1.0
 * @Project javase2203
 * @Package com.qf.service
 * @Description:
 * @Date 2022/7/27 15:11
 *
 * 品牌制造商
 *
 *  http://localhost:8083/admin/brand/list?page=1&limit=20&sort=add_time&order=desc
 */
public interface BrandService {

    /**
     * 分页查询
     * @param page
     * @param limit
     * @param sort
     * @param order
     * @param id
     * @param name
     * @return
     */
    public IPage<DtsBrand> queryBrandPage(Integer page,Integer limit,String sort,String order,Integer id,String name);

    /**
     * 删除
     * @param
     * @return
     */
    public void delete(DtsBrand brand);


    /**
     * 添加
     * @param brand
     * @return
     */
    public  int add(DtsBrand brand);


    /**
     * 修改
     * @param brand
     * @return
     */
    public  int update(DtsBrand brand);

}
